package net.zhengxinyun.performance.service.examNew;

import net.zhengxinyun.performance.entity.exam.InquireInfoEntity;
import net.zhengxinyun.performance.entity.exam.InquireObjEntity;
import net.zhengxinyun.performance.filter.exam.InquireObjFilter;
import net.zhengxinyun.performance.filter.exam.UnSysUserFilter;

import java.util.List;

/**
 * Date: 2020/3/12 15:45
 * 调查对象总表和调查总表
 */
public interface InquireObjService  {
    int deleteInfoByPrimaryKey(Long id);

    int insertInfo(List<InquireInfoEntity> list);

    int insertInfoInfoSelective(InquireInfoEntity record);

    InquireInfoEntity selectInfoByPrimaryKey(Long id);

    int updateInfoByPrimaryKeySelective(InquireInfoEntity record);

    int updateInfoByPrimaryKey(InquireInfoEntity record);


    int deleteObjByPrimaryKey(Long id);

    int insertObj(InquireObjEntity record);

    int insertObjSelective(InquireObjEntity record);

    InquireObjEntity selectObjByPrimaryKey(Long id);

    int updateObjByPrimaryKeySelective(InquireObjEntity record);

    int updateObjByPrimaryKey(InquireObjEntity record);

    List<InquireObjEntity> selectListObjs (InquireObjFilter filter);

    List<InquireObjFilter> selectListInfos(InquireObjFilter entity);



    public List<UnSysUserFilter> chooseRule(String ruleType, int ruleNum, String userType, String userSource, int totalNum);



    }
